package com.cn.why.springcloudskills.service;

import com.cn.why.springcloudskills.util.Result;

/**
 * service层
 */
public interface SkillsService {
    /**
     * 程序锁AOP
     * @param seckillId
     * @param userId
     * @return
     */
    Result startSeckilAopLock(long seckillId, long userId);

    void deleteSeckill(long seckillId);

    long getCountSkills(long seckillId);
}
